package com.kucun.Dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kucun.bean.Page;
import com.kucun.bean.Repertory;

public interface RepertoryMapper {
	boolean deleteByPrimaryKey(@Param("ids")String ids);

    int insert(Repertory record);

    Integer insertSelective(Repertory record);

    Repertory selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Repertory record);

    boolean updateByPrimaryKey(Repertory record);

	List<Repertory> findAll(Page page);

	Page getCount();
	
	public int updateGoodsForDel(@Param("ids")String ids);
	
	List<Repertory> findAllDateNoPaging();
	
	boolean deleteTreeByPrimaryKey(Integer id);
	
	public int delRepertoryForDel(@Param("ids")String ids);
	
}